<?php
// +----------------------------------------------------------------------
// | 应用设置
// +----------------------------------------------------------------------

return [
    // 应用地址
    'app_host'         => env('app.host', ''),
    // 应用的命名空间
    'app_namespace'    => '',
    // 是否启用路由
    'with_route'       => true,
    // 默认应用
    'default_app'      => 'index',
    // 默认时区
    'default_timezone' => 'Asia/Shanghai',

    // 应用映射（自动多应用模式有效）
    'app_map'          => [],
    // 域名绑定（自动多应用模式有效）
    'domain_bind'      => [],
    // 禁止URL访问的应用列表（自动多应用模式有效）
    'deny_app_list'    => [],

    // 异常页面的模板文件
    'exception_tmpl'   => app()->getThinkPath() . 'tpl/think_exception.tpl',

    // 错误显示信息,非调试模式有效
    'error_message'    => '页面错误！请稍后再试～',
    // 显示错误信息
    'show_error_msg'   => false,

    'school' => [
        'appid' => 'qxtcorp651295',
        'secret' => '9c576d56484865ea5875de40fef6ed8a',
        'auth_corpid' => 'p43210',
    ],


    'dedao' => [
        'ak' => '5a7dcd6c1f13f188de4f783e037073165ff9cd27',
        'sk' => '10dfb1e81ce8121cecf9ec27f9ec3232e83759f9b13227375f27b15fb127ec1210f9f9c81ce880b1',
        'identity' => 'spark',
        'device_type' => 'V2ql12SqHLQ6C3A4',
        'url' => 'http://platform.dev.igetget.com',
        'enid' => 'BDV2Okn2oM',
        'webhook_ak' => 'dFLmbqk7nxha',
        'webhook_sk' => 'vQFR6fmagLEr6vh6brBB',
    ],

    'zhibo' => [
        'appId' => 'g1j47kb4r8',
        'userId' => '540785cd96',
        'AppSecret' => 'b6912f930a7a416593154f03faf205fd',
        'url' => 'https://apilearningsparkminiapp-uat.lorealchina.com/',
        'zhiboUrl' => 'https://341d79f64a.live.polyv.cn',
    ],

    'qywechat'=>[
        'corpid'=>'wxa961e6a044c32fc1',
        'corpsecret'=>'gMLoAEQzSJKRbxdr2PHG6YH_6S1mSHecZf6mEE7dMC0', //qiye
        'corpsecret2'=>'HvfStKT_UCDU4Qkk28nMVmIZh7KzBmG2tOYkhLaVoB0', //自建应用
        'agentid'=>'1000075',
        'smallappid' => 'wx5c219e5b3cd4f1a5',
        'smallsecret' => 'c4223426d82a94c8b63914fe183d79be'
    ],

    //课程属性
    'course' => [
        'type'=>['1'=>'1flex','2'=>'Openflex','3'=>'MUST & IA'],
        'target'=>['1'=>'All','2'=>'All-new comer','3'=>'Professional','4'=>'Leader'],
        'level'=>['1'=>'Essential','2'=>'Advanced','3'=>'Mastery','4'=>'To be defined locally','5'=>'TBC'],
        'level3'=>
            [
                ['id'=>'1', 'name'=>'Essential'],
                ['id'=>'2', 'name'=>'Advanced'],
                ['id'=>'3', 'name'=>'Mastery'],
                ['id'=>'4', 'name'=>'To be defined locally'],
                ['id'=>'5', 'name'=>'TBC'],
            ],
        'level2'=>['1'=>'基础','2'=>'进阶','3'=>'高级','4'=>'待定','5'=>'待定'],
        'english'=>['4'=>'Chinese','1'=>'English level 1','2'=>'English level 2','3'=>'English level 3','0'=>''],
        'english3'=>[
            ['id' => '4', 'name'=>'Chinese'],
            ['id' => '1', 'name'=>'English level 1'],
            ['id' => '2', 'name'=>'English level 2'],
            ['id' => '3', 'name'=>'English level 3'],
            ['id' => '0', 'name'=>''],
        ],
        'english2'=>['4'=>'中文','1'=>'英语1级','2'=>'英语2级','3'=>'英语3级','0'=>''],
        'module'=>['1'=>'In-class','2'=>'In-class/virtual','3'=>'In-class+mentorIng','4'=>'Virtual','5'=>'1-1 coachIng','6'=>'TBC','7'=>''],
        'module2'=>['1'=>'课堂教学','2'=>'课堂教学/线上学习','3'=>'课堂教学+导师辅导','4'=>'线上学习','5'=>'1对1 训练','6'=>'待定','7'=>''],
        'english_title'=>['4'=>'','1'=>'Chinese speakers with slides in english','2'=>'English speakers with slides in english, group discussions in Chinese','3'=>'English speakers & English group discussions'],
        'english_title2'=>['4'=>'中文','1'=>'中文讲授，英文讲义','2'=>'英文讲授，中文讨论','3'=>'英文讲授与讨论'],
    ],

    'default'=>[
        'head'=>'https://apilearningsparkminiapp-uat.lorealchina.com/static/head.png',
        'course'=>'/static/course.png',
    ],

    'url' => 'https://adminlearningsparkminiapp-uat.lorealchina.com/Login/index.html',
];
